home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 2).iso / 1231 / instal.xxx < prev    next >
Encoding:
Text File  |  1997-04-18  |  1.2 KB  |  43 lines

  1. ECHO OFF
  2. IF EXIST setup.ex$ GOTO DEB
  3. ECHO "Le répertoire courant doit etre le lecteur ou le répertoire"
  4. ECHO " contenant les fichiers d'installation"
  5. GOTO FIN
  6. :DEB
  7. IF EXIST setup.exe GOTO FIN1
  8. copy cac1.txt xxxxxxxx.xxx
  9. IF NOT EXIST xxxxxxxx.xxx GOTO PROTECT
  10. del xxxxxxxx.xxx
  11. IF "%1"=="" GOTO DEF
  12. ECHO "Fabrication du fichier d'installation"
  13. %1\expand setup.ex$ setup.exe
  14. IF NOT EXIST setup.exe GOTO ANORMAL
  15. copy cac1.txt lisezmoi.txt
  16. ECHO "Demarrage de l'installation"
  17. ECHO ON
  18. %1\win setup.exe
  19. GOTO FIN
  20. :DEF
  21. ECHO "Fabrication du fichier d'installation"
  22. c:\windows\expand setup.ex$ setup.exe
  23. IF NOT EXIST setup.exe GOTO ANORMAL
  24. copy cac1.txt lisezmoi.txt
  25. ECHO "Demarrage de l'installation"
  26. :FIN1
  27. ECHO "Pour installer, faire exécuter sous windows setup.exe"
  28. ECHO "Si cette installation s'est déroulée sous DOS natif, "
  29. ECHO "elle va lancer WINDOWS et la suite de l'installation "
  30. ECHO "Sinon revenez sous WINDOWS et lancez setup.exe."
  31. PAUSE
  32. ECHO ON
  33. c:\windows\win setup
  34. GOTO FIN
  35. :PROTECT
  36. ECHO "La disquette ne doit pas etre protégée en écriture"
  37. GOTO FIN
  38. :ANORMAL
  39. ECHO "Si Windows n'est pas installe dans c:\windows"
  40. ECHO "Vous devez donner le chemin ou est installe Windows en parametre. Par exemple :"
  41. ECHO "instal d:\windows"
  42. :FIN
  43.